#pragma once

#include <QRegularExpression>
#include <QGlobalStatic>

constexpr const char FS_NATIVE_SEPARATOR =
#if defined _WIN32 || defined __CYGWIN__
    '\\';
#else
    '/';
#endif

constexpr const char FS_NETWORKS_DIR[] = "networks";
constexpr const char FS_VOICEGATE_CACHE[] = "voicegate_data.txt";
constexpr const char FS_CHATLOG_SUBDIR[] = "chatlog";
Q_GLOBAL_STATIC_WITH_ARGS(QRegularExpression, FS_NETWORK_NAME_FORMAT_DEL_RGX, ("[^0-9a-zA-Z]"));
